export const state = () => ({
  article: {},
  banner: {},
  brand: [],
  guess: [],
  hotel: [],
  shop: {},
  data: {}
})

export const mutations = {
  SET_HOME: (state, payload) => {
    Object.entries(payload).forEach(([key, value]) => {
      state[key] = value
    })
  }
}
